
extern "C" {
#include <project.h>
#include <define.h>
#include <transact.h>
#include <funcs.h>
}

#include "CommsHandlerAll.h"

char* PETHostInterfaceActivator::performHostInterface() {
    char* ret = NULL;
    char szErrorMessage[20];
    strcpy(szErrorMessage, "ERROR_OCCURRED");

    if (inRunTransProtocolFunction(pobTran) == VS_ERR)
        ret = szErrorMessage;
    // "ERROR_OCCURRED";
    return ret;
}

char* PETHostInterfaceActivator::performLogOn() {
    return NULL;
}

char* PETHostInterfaceActivator::performLogOff() {
    return NULL;
}

void PETHostInterfaceActivator::setPobTran(TRANSACTION_OBJECT* pobTran) {
    this->pobTran = pobTran;
}
